package com.linewell.service;

import com.linewell.entity.Article;
import com.linewell.entity.Tag;
import com.linewell.utils.Msg;

import java.util.List;
/**
 * @Title: ssm2
 * @description:
 * @author: hyuhuang@linewell.com
 * @since:2018/2/5
 */
public interface ITagService {

    List<Tag> getHotTag();

    Msg getTags();

    void insertTag(String tag);

    List<Tag> selectTagByTagName(String tag);

    void insertMutil(Long userId, Long articleId, int tagId);

    void insertMutilByArticle(long articleId, int tagId);

    List<Tag> getTagByArticle(Article article);
}
